<!DOCTYPE HTML>
<html lang="en">
<head>
    <title>全文检索服务配置</title>
    <meta http-equiv="pragma" content="no-cache"/>
    <meta http-equiv="cache-control" content="no-cache"/>
    <meta http-equiv="expires" content="0"/>
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"/>
    <meta http-equiv="description" content="This is my page"/>
    <!-- BEGIN GLOBAL MANDATORY STYLES -->
    <link href="../metronic/assets/global/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
    <link href="../metronic/assets/global/plugins/simple-line-icons/simple-line-icons.min.css" rel="stylesheet" type="text/css" />
    <link href="../metronic/assets/global/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <link href="../metronic/assets/global/plugins/uniform/css/uniform.default.css" rel="stylesheet" type="text/css" />
    <link href="../metronic/assets/global/plugins/bootstrap-switch/css/bootstrap-switch.min.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="../metronic/assets/global/plugins/bootstrap-touchspin/bootstrap.touchspin.min.css" />
    <!-- END GLOBAL MANDATORY STYLES -->
    <!-- BEGIN PAGE LEVEL STYLES -->
    <link rel="stylesheet" type="text/css" href="../metronic/assets/global/css/plugins.css" />
    <link rel="stylesheet" type="text/css" href="../metronic/assets/global/plugins/select2/select2.css" />
    <link rel="stylesheet" type="text/css" href="../metronic/assets/global/plugins/datatables/plugins/bootstrap/dataTables.bootstrap.css" />
    <!-- END PAGE LEVEL STYLES -->
    <!-- BEGIN THEME STYLES -->
    <link href="../metronic/assets/global/css/components.css" id="style_components" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="../metronic/assets/global/plugins/bootstrap/css/bootstrap-table.css" />
    <link href="../theme/zTree/metroStyle/metroStyle.css" rel="stylesheet" type="text/css" />
    <link href="../metronic/assets/global/plugins/icheck/skins/all.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="../metronic/assets/global/plugins/bootstrap/css/bootstrap-table.css" />
    <!-- END THEME STYLES -->

    <style type="text/css">
        .task-list{
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .task-list>li{
            position: relative;
            padding: 10px 10px 10px 0px;
            border-bottom: 2px solid #F4F6F9;
            min-width: 700px;
        }
        .task-list>li:hover{
            background: #F4F6F9;
            cursor: pointer;
        }
        .task-checkbox{
            float:left;
            margin-right: -20px;
        }
        .slimScrollBar{
            margin-bottom:5px;
        }
        .tasks-widget .task-list > li{
            min-width: 426px !important;
        }
    </style>
</head>
<body  class="page-header-fixed page-quick-sidebar-over-content " style="width: 98%; background: #0f0; background-color: transparent;">
<div class="row" style="margin-top:16px;">
    <div class="col-md-12">
        <div class="portlet box blue-steel">
            <div class="portlet-title">
                <div class="caption">
                    <i class="fa fa-globe"></i>全文检索服务
                </div>
                <div class="actions">
                    <a id="btn_back" href="javascript:;" class="btn btn-default btn-sm">
                        <i class="fa fa-backward"></i> 返回
                    </a>
                </div>
            </div>
            <div class="portlet-body" style="height:530px;">
                <div class="form-horizontal form-body form-inline">
                    <div class="form-group" >
                        <label class="col-md-4 control-label">服务ID:</label>
                        <div class="col-md-4">
                            <input id="guid" name="guid" type="text"
                                   class="form-control input-inline input-medium input-circle"
                                   placeholder="服务ID唯一,不能重复" />
                        </div>
                    </div>
                    <div class="form-group" style="margin-left: 15px;" >
                        <label class="col-md-4 control-label">服务名称:</label>
                        <div class="col-md-4">
                            <input id="servicename" name="servicename" type="text"
                                   class="form-control input-inline input-medium input-circle"
                                   placeholder="请输入服务名称" />
                        </div>
                    </div>
                    <div class="form-group" style="margin-left: 15px;" >
                        <label class="col-md-4 control-label">备注信息:</label>
                        <div class="col-md-4">
                            <input id="remark" name="remark" type="text"
                                   class="form-control input-inline input-medium input-circle"
                                   placeholder="请输入备注信息" />
                        </div>
                    </div>
                    <hr/>
                    <div class="form-group" style="width:500px;">
                        <label class="col-md-4 control-label" style="width:120px;">调度周期:</label>
                        <div class="col-md-4" style="width:370px;">
                            <input id="cronexpression" name="cronexpression" type="text"
                                   class="form-control input-inline input-medium input-circle"
                                   placeholder="请设置调度周期" readonly="readonly"/>
                            <button id="btn_set" type="button" class="btn blue-steel">设置</button>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label">状态:</label>
                        <label id="lab_status" class="control-label" style="color:red;">关闭</label>
                    </div>
                    <div class="form-group" style="float: right; margin-right: 50px; display: block;">
                        <span id="saveError" style="color:red; margin-right: 20px;"></span>
                        <button id="btn_save" type="button" class="btn blue-steel  fa fa-save">&nbsp;&nbsp;保&nbsp;&nbsp;存</button>
                    </div>
                    <hr/>
                    <div class="col-md-12">
                        <div class="portlet light bordered">
                            <div class="portlet-title">
                                <div class="caption">
                                    <i class="icon-speech font-green"></i>
                                    <span class="caption-subject bold font-green uppercase">检索库表配置</span>
                                </div>
                                <div class="actions">
                                    <a id="btna_add" href="javascript:;" class="btn btn-circle blue-steel btn-outline">
                                    <i class="fa fa-plus"></i> 新增 </a>
                                    <a id="btna_edit" href="javascript:;" class="btn btn-circle blue-steel btn-outline">
                                        <i class="fa fa-edit"></i> 修改 </a>
                                    <a id="btna_del" href="javascript:;" class="btn btn-circle blue-steel btn-outline">
                                        <i class="fa fa-remove"></i> 删除 </a>
                                </div>
                            </div>
                            <div class="portlet-body scrollertwo">
                                <table id="tb_datalist"></table>
                            </div>
                        </div>
                    </div>

                </div>
            </div>

        </div>
    </div>
</div>

<!--Begin 新增检索库表弹窗Modul-->
<div id="dataTableModul" class="modal fade" tabindex="-1" aria-hidden="true" style="z-index:9998 !important;">
    <div id="dataTableDialog" class="modal-dialog" style="width:440px;">
        <div class="modal-content">
            <div class="modal-header" style="padding:8px; background-color:#4276A4;">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                <span class="modal-title" style="color:#fff; font-size:16px;">维护检索库表</span>
            </div>
            <div class="modal-body">
                <div class="form-horizontal form-body form-inline">
                    <div class="form-group" >
                        <label class="col-md-3 control-label">数据库:</label>
                        <div class="col-md-4">
                            <select id="dbkey" name="dbkey" class="js-example-basic-single input-inline input-medium" >
                            </select>
                        </div>
                    </div>
                    <div class="form-group" style="margin-top:10px; margin-bottom: 10px;" >
                        <label class="col-md-3 control-label">数据表:</label>
                        <div class="col-md-4">
                            <select id="dtConfigid" name="dtConfigid" class="js-example-basic-single input-inline input-medium" >
                            </select>
                        </div>
                    </div>
                    <div class="form-group" style="margin-bottom:10px; width:450px;">
                        <label class="col-md-3 control-label" style="width:90px; margin-top: 40px;">字段信息:</label>
                        <div class="col-md-8" style="border:solid 1px #aaa; display:block; height: 130px; width:300px !important; margin-left: 10px; padding-bottom:10px;">
                            <div id="showColumns" class=" md-checkbox-inline scroller" >

                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">更新类型:</label>
                        <div class="col-md-4">
                            <select id="updatetype" class="form-control input-inline input-medium" style="border:solid 1px #aaa;">
                                <option value="0">全部更新</option>
                                <option value="1">增量更新</option>
                            </select>
                        </div>
                    </div>
                    <div id="div_field" class="form-group" style="margin-top:10px; display:none;">
                        <label class="col-md-3 control-label" style="width:90px;">更新字段:</label>
                        <div class="col-md-4">
                            <select id="updatefield" class="form-control input-inline input-medium" style="border:solid 1px #aaa;">

                            </select>
                        </div>
                    </div>
                    <div id="div_value" class="form-group" style="margin-top:10px; display: none;">
                        <label class="col-md-3 control-label" style="width:90px;">更新值:</label>
                        <div class="col-md-4">
                            <input id="updatevalue" name="updatevalue" type="text"
                                   class="form-control input-inline input-medium"
                                   placeholder="请输入更新字段值" style="border:solid 1px #aaa; height: 30px;"/>
                        </div>
                    </div>

                </div>
            </div>
            <div class="modal-footer">
                <span id="modulerror" style="color:red;"></span>
                <button type="button" class="btn btn-outline" data-dismiss="modal">关闭</button>
                <button id="btn_modulsave" type="button" class="btn blue-steel">保存</button>
            </div>
        </div>
    </div>
</div>
<!--End 新增检索库表弹窗Modul-->
<!--Begin 设置任务调度周期Modul-->
<div id="conModul" class="modal fade" tabindex="-1" aria-hidden="true" style="z-index:9998 !important;">
    <div class="modal-dialog" style="width:500px;">
        <div class="modal-content">
            <div class="modal-header" style="padding:8px; background-color:#4276A4;">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                <span class="modal-title" style="color:#fff; font-size:16px;">设置任务调度周期</span>
            </div>
            <div class="modal-body">
                <div class="form-horizontal form-body form-inline">
                    <div class="form-group" >
                        <label class="col-md-2 control-label" style="width:70px;">周期:</label>
                        <div class="col-md-4" style="width:340px;">
                            <input id="cron" name="cron" type="text"
                                   class="form-control input-inline input-medium"
                                   placeholder="请输入调度周期"/>
                            <button id="btn_affirm" type="button" class="btn blue-steel">确定</button>
                        </div>
                    </div>
                    <div class="portlet light bordered" style="margin-top: 10px;">
                        <div class="portlet-title tabbable-line" style="min-height: 10px;">
                            <div class="caption" style="font-size: 14px; padding:5px 0;">
                                任务周期表达式实例
                            </div>
                        </div>
                        <div class="portlet-body scrollerthree tasks-widget">
                            <ul id="tasktime" class="task-list">
                                <li time="0 0 12 * * ?">"0 0 12 * * ?" 每天中午12点触发</li>
                                <li time="0 0/1 8-20 * * ?">"0 0/1 8-20 * * ?" 每天早上8点到晚上8点每1分钟执行一次</li>
                                <li time="0 15 10 * * ? 2005">"0 15 10 * * ? 2005" 2005年的每天上午10:15触发</li>
                                <li time="0 * 14 * * ?">"0 * 14 * * ?" 在每天下午2点到下午2:59期间的每1分钟触发</li>
                                <li time="0 0/5 14 * * ?">"0 0/5 14 * * ?" 在每天下午2点到下午2:55期间的每5分钟触发 </li>
                                <li time="0 0/5 14,18 * * ?">"0 0/5 14,18 * * ?" 在每天下午2点到2:55期间和下午6点到6:55期间的每5分钟触发 </li>
                                <li time="0 0-5 14 * * ?">"0 0-5 14 * * ?" 在每天下午2点到下午2:05期间的每1分钟触发</li>
                                <li time="0 10,44 14 ? 3 WED">"0 10,44 14 ? 3 WED" 每年三月的星期三的下午2:10和2:44触发</li>
                                <li time="0 15 10 ? * MON-FRI">"0 15 10 ? * MON-FRI" 周一至周五的上午10:15触发 </li>
                                <li time="0 15 10 15 * ?">"0 15 10 15 * ?" 每月15日上午10:15触发</li>
                                <li time="0 15 10 L * ?">"0 15 10 L * ?" 每月最后一日的上午10:15触发 </li>
                                <li time="0 15 10 ? * 6L">"0 15 10 ? * 6L" 每月的最后一个星期五上午10:15触发</li>
                                <li time="0 15 10 ? * 6L 2002-2005">"0 15 10 ? * 6L 2002-2005" 2002年至2005年的每月的最后一个星期五上午10:15触发</li>
                                <li time="0 15 10 ? * 6#3">"0 15 10 ? * 6#3" 每月的第三个星期五上午10:15触发</li>
                            </ul>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
</div>
<!--End 设置任务调度周期Modul-->
<!-- Begin 隐藏域 -->
<input type="hidden" id="hid_serviceId" name="hid_serviceId"/>
<input type="hidden" id="hid_servertype" name="hid_servertype"/>
<input type="hidden" id="hid_operate" name="hid_operate"/>
<input type="hidden" id="hid_projectid" name="hid_projectid"/>
<!-- End 隐藏域 -->

<script src="../metronic/assets/global/plugins/jquery.min.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/jquery-migrate.min.js" type="text/javascript"></script>
<!-- IMPORTANT! Load jquery-ui.min.js before bootstrap.min.js to fix bootstrap tooltip conflict with jquery ui tooltip -->
<script src="../metronic/assets/global/plugins/jquery-ui/jquery-ui.min.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/jquery.blockui.min.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/jquery.cokie.min.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/uniform/jquery.uniform.min.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/bootstrap-touchspin/bootstrap.touchspin.min.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/bootstrap-select/bootstrap-select.min.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/jquery-multi-select/js/jquery.multi-select.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/select2/select2.min.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/select2/select2_locale_zh-CN.js"></script>
<!-- END CORE PLUGINS -->
<!-- BEGIN PAGE LEVEL SCRIPTS -->
<script src="../metronic/assets/global/scripts/metronic.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/bootstrap/js/bootstrap-table.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/bootstrap/js/bootstrap-table-zh-CN.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/bootstrap/js/bootstrap-editable.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/bootstrap/js/bootstrap-table-editable.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/bootstrap/js/bootstrap-table-fixed-columns.js" type="text/javascript" ></script>
<script src="../metronic/assets/global/plugins/bootbox/bootbox.min.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/icheck/icheck.min.js" type="text/javascript"></script>
<!-- END PAGE LEVEL SCRIPTS -->
<script src="../js/serviceConfigration/fulltextSearchService.js" type="text/javascript"></script>
</body>
</html>
